package cn.bugstack.springframework;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: DRevelation
 * @Date: 2022/3/17 14:09
 */
public class UserDao {

    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "小付哥");
        hashMap.put("10002", "阿呆");
        hashMap.put("10003", "给给");
    }

    public String queryUserName(String uid) {
        return hashMap.get(uid);
    }
}
